package com.practice.dto;

import lombok.Data;

/**
 * desc
 *
 * @author: kayn
 * 2024-09-04 10:08
 **/
@Data
public class ReadDeviceDTO {

    private String code;

    /**
     * 构造器
     * @param code 1
     * @return 1
     */
    public static ReadDeviceDTO init(String code) {
        ReadDeviceDTO dto = new ReadDeviceDTO();
        dto.code = code;
        return dto;
    }
}
